<template>
  <div class="layout" id="hangleOut">
    <van-sticky>
      <van-nav-bar title="扫码追溯" left-arrow @click-left="onClickLeft" />
    </van-sticky>
    <div class="step-div" @click="openCodeReview">
      <div class="icon-sty">
        <i :class="['iconfont', 'icon-tubiaolunkuo-', 'iconsty']"></i>
      </div>
      <span>扫描医废袋二维码</span>
    </div>
  </div>
</template>

<script>
export default {
  methods: {
    onClickLeft() {
      this.$router.go(-1);
    },
    openCodeReview() {
        this.$router.push({
            path:'/codeReviewInfo'
        })
    }
  },
};
</script>

<style scoped lang="less">
.layout {
  box-sizing: border-box;
  width: 100vw;
  min-height: 100vh;
  background-color: #dcdfe6;
  .step-div {
    margin: 0 17px;
    height: 12vh;
    line-height: 12vh;
    background-color: #ffffff;
    padding-right: 10px;
    border-radius: 10px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 17px;
    .icon-sty {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      border: 1px solid #000000;
      line-height: 50px;
      margin-right: 10px;
      background-color: #f2f6fc;
      .iconsty {
        font-size: 30px;
      }
    }
  }
}
</style>